package com.tang.usercenter;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;

@SpringBootApplication
@EnableSwagger2WebMvc
@ConfigurationPropertiesScan(basePackages = "com.tang.common.properties")
@ComponentScan(basePackages = {"com.tang.common.config","com.tang.usercenter"})
public class UserCenterRunApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserCenterRunApplication.class, args);
    }
}
